/* 
 * File:   ComThread.hpp
 * Author: Ana Paula
 *
 * Created on 14 de Julho de 2011, 17:30
 */

#ifndef COMTHREAD_HPP
#define	COMTHREAD_HPP

#include <QThread>
#include <iostream>
#include <PilhaClient.hpp>
#include "Jogador.hpp"
#include "newForm.h"

using namespace jogodavelharedes;

class ComThread : public QThread {

    public:
        ComThread(PilhaClient* pilha, newForm* nf, Jogador* este);
        ~ComThread();
        
    protected:

        void run();

    private:
        PilhaClient* p;
        Jogador* j;
        newForm* guif;
};


#endif	/* COMTHREAD_HPP */

